<template>
  <el-config-provider :locale="locale">
    <div id='app'>
      <router-view/>
    </div>
  </el-config-provider>
</template>

<script lang='ts'>
import {defineComponent, onMounted} from 'vue';
import {ElConfigProvider} from 'element-plus';
import zhCn from 'element-plus/lib/locale/lang/zh-cn';


export default defineComponent({
  setup(props, context) {

    onMounted(() => {
    });
    return {
      locale: zhCn,
    };
  },
  components: {
    ElConfigProvider
  }
});
</script>

<style>
body { font-size:100% }
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  overflow: hidden;
}

#app {
  /*font-family: 'Avenir', Helvetica, Arial, sans-serif;*/
  /*-webkit-font-smoothing: antialiased;*/
  /*-moz-osx-font-smoothing: grayscale;*/
  /*text-align: center;*/
  /*color: #2c3e5011;*/
  /*margin-top: 60px;*/
  height: 100%;
  width: 100%;
}
</style>
